package com.jt.utils;

public class Page {

    private Integer currentPage=3;
    private Integer countPage;
    private Integer count;
    private Integer pageSize=2;

    public Integer getCurrentPage() {
        return currentPage;
    }

    public void setCurrentPage(Integer currentPage) {
        this.currentPage = currentPage;
    }

    public Integer getCountPage() {
      return count%pageSize!=0?count/pageSize+1:count/pageSize;
    }


    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}
